home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD School House 10
/
CD School House - Education and Games (10.0) - Wayzata Technology (1995).iso
/
mac
/
DOS
/
NETWORKS
/
TPAPI
/
NWFSERV.DOC
< prev
next >
Wrap
Text File
|
1992-03-02
|
4KB
|
104 lines
FILE SERVICES
=============
EraseFiles (DirectoryHandle : BYTE; DirectoryPath : PathNameType;
SearchAttributes : BYTE) : WORD;
Erases files from a directory.
--------------------------------------------------------------------------------
FileServerFileCopy (VAR SourceFile, DestinationFile : FileOfByte;
SourceFileOffSet, DestinationFileOffSet,
NumberOfBytesToCopy : LONGINT;
VAR NumberOfBytesCopied : LONGINT) : WORD;
NOTE : To copy a whole file SFO, DFO should be 0 and NOBTC should be
greater than or equal to the size of the source file.
Copies a file, or a portion of a file, to another file on the same file
server.
--------------------------------------------------------------------------------
GetExtendedFileAttributes (FilePath : PathNameType;
VAR ExtendedFileAttributes : BYTE) : WORD;
Returns a file's extended attributes.
--------------------------------------------------------------------------------
PurgeAllErasedFiles : WORD;
NOTE : Netware 286 only.
Permanently deletes all files that are marked for deletion.
--------------------------------------------------------------------------------
PurgeErasedFiles : WORD;
NOTE : Netware 286 only.
Permanently deletes all files that a workstation has marked for deletion.
--------------------------------------------------------------------------------
PurgeSalvagableFile (386)
NOT FULLY IMPLEMENTED
Permanently deletes a file that has been marked for deletion.
--------------------------------------------------------------------------------
RecoverSalvagableFile (386)
NOT FULLY IMPLEMENTED
Recovers a file that has been marked for deletion.
--------------------------------------------------------------------------------
RestoreErasedFile (DirectoryHandle : BYTE; VolumeName : VolumeNameType;
VAR ErasedFileName, RestoredFileName : FileNameType) : WORD;
NOTE : Netware 286 only.
Restores one file on the file server that has been marked for deletion by the
requesting workstation.
--------------------------------------------------------------------------------
ScanFileEntry (386)
NOT FULLY IMPLEMENTED
Scans a directory and returns information about the specified entry.
--------------------------------------------------------------------------------
ScanFileInformation (DirectoryHandle : BYTE; FilePath : PathNameType;
SearchAttributes : BYTE; VAR SequenceNumber : INTEGER;
VAR FileName : FileNameType; VAR FileAttributes,
ExtendedFileAttributes : BYTE; VAR SizeOfFile : LONGINT;
VAR CreationDate, LastAccessDate : WORD;
VAR LastUpdateDateAndTime, LastArchiveDateAndTime : LONGINT;
VAR FileOwnerID : OT_BinderyID) : WORD;
NOTE : On initial call SequenceNumber must contain -1.
Returns information about a file.
--------------------------------------------------------------------------------
ScanFilePhysical (386)
NOT FULLY IMPLEMENTED
Scans a directory and returns information about the specified entry,
including the file's physical size.
--------------------------------------------------------------------------------
ScanSalvagableFiles (386)
NOT FULLY IMPLEMENTED
Scans a directory and returns file entry information about deleted files.
--------------------------------------------------------------------------------
SetExtendedFileAttributes (FilePath : PathNameType;
ExtendedFileAttributes : BYTE) : BYTE;
Sets a file's extended attributes.
--------------------------------------------------------------------------------
SetFileInformation (DirectoryHandle : BYTE; FilePath : PathNameType;
SearchAttributes, FileAttributes,
ExtendedFileAttributes : BYTE; CreationDate,
LastAccessDate : WORD; LastUpdateDateAndTime,
LastArchiveDateAndTime : LONGINT;
FileOwnerID : OT_BinderyID) : WORD;
Sets file information for a file on the server.
--------------------------------------------------------------------------------